﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Teal.Compiler {
    public static class CCodeGenHelper {

        /// <summary>
        /// 解析当前子成员相关的类型引用。
        /// </summary>
        /// <param name="memberContainerDefinition">要处理的容器定义。</param>
        [System.Diagnostics.DebuggerStepThrough]
        public static void emitChildMembers(MemberContainerDefinition memberContainerDefinition, CCodeGenContext context) {
            for (var member = memberContainerDefinition.members; member != null; member = member.next) {
                member.emit(context);
            }
        }


    }
}
